﻿using EMall.Application;
using EMall.Query;

namespace EMall.ProductService.Brands
{
    public interface IBrandAppService : IApplicationService
    {
        Task CreateAsync(CreateBrandDto input);
        Task UpdateAsync(UpdateBrandDto input);
        Task DeleteAsync(DeleteBrandDto input);
        Task<BrandDto> GetAsync(int id);
        Task<IEnumerable<BrandListDto>> GetListAsync(GetBrandListQueryDto input);
        Task<IPagedList<BrandListDto>> GetPagedListAsync(GetBrandListPagingAndSortingQueryDto input);
    }
}
